struct QueryGraphEntry
{
	double value;
	const Graph *g;
};

class SegmenterInterface
{
public:
	void MakeImageGraphs();
	void MakeAllSegmentations(const String &imageFilename, const String &resultFilename);
	void LoadImageGraphs();
	void CompareAllGraphs();

private:
	void QueryGraph(const Graph &g0, ofstream &file);
	double CompareGraphsDynamicProgramming(const Graph &g0, const Graph &g1, UINT pathLength);

	Vector<Graph*> _graphs;
};